import 'package:situation/app/page/common/map_point_select/binding.dart';
import 'package:situation/app/page/common/map_point_select/view.dart';
import 'package:situation/app/page/package.dart';
import 'package:situation/app/page/publish/intell_info_time_line_upload/binding.dart';
import 'package:situation/app/page/publish/intell_info_time_line_upload/view.dart';
import 'package:situation/app/router/middleware/LoginUserMiddleware.dart';
import 'package:situation/app/router/router_name.dart';
import 'package:get/get.dart';

List<GetPage> publishRouters = [
  GetPage(
    name: RouterName.intellHistory,
    binding: IntelHistoryBinding(),
    page: () => IntelHistoryPage(),
    middlewares: [LoginUserMiddleware()],
  ),
  GetPage(
    name: RouterName.publishIndex,
    binding: PublishIndexBinding(),
    middlewares: [LoginUserMiddleware()],
    page: () => PublishIndexPage(),
  ),
  GetPage(
    name: RouterName.publishIntell,
    binding: PublishIntellBinding(),
    page: () => PublishIntellPage(),
  ),
  GetPage(
    name: RouterName.commonMapPointSelect,
    binding: MapPointSelectBinding(),
    page: () => MapPointSelectPage(),
  ),
  GetPage(
    name: RouterName.intellDetail,
    binding: IntellDetailBinding(),
    page: () => IntellDetailPage(),
  ),

  GetPage(
    name: RouterName.taskDetail,
    binding: TaskDetailBinding(),
    page: () => TaskDetailPage(),
  ),
  GetPage(
    name: RouterName.intellInfoUpload,
    binding: IntellInfoUploadBinding(),
    page: () => IntellInfoUploadPage(),
  ),
  GetPage(
    name: RouterName.intellInfoTimeLine,
    binding: IntellInfoTimelineBinding(),
    page: () => IntellInfoTimelinePage(),
  ),
  GetPage(
    name: RouterName.intellInfoTimeLineUpload,
    binding: IntellInfoTimeLineUploadBinding(),
    page: () => IntellInfoTimeLineUploadPage(),
  ),
  GetPage(
    name: RouterName.taskDetail,
    binding: TaskDetailBinding(),
    page: () => TaskDetailPage(),
  ),
];
